﻿namespace Wedn.Net.Model
{
    /// <summary>
    /// 前后对象实体
    /// </summary>
    /// <typeparam name="TSource">对象类型</typeparam>
    public class Around<TSource>
    {
        /// <summary>
        /// Gets or sets the previous.
        /// </summary>
        /// <value>
        /// The previous.
        /// </value>
        public TSource Previous { get; set; }
        /// <summary>
        /// Gets or sets the current.
        /// </summary>
        /// <value>
        /// The current.
        /// </value>
        public TSource Current { get; set; }
        /// <summary>
        /// Gets or sets the next.
        /// </summary>
        /// <value>
        /// The next.
        /// </value>
        public TSource Next { get; set; }
    }
}